package com.woniu.woniuYoga.comm.core.domain.gym;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 付宽成
 * @since 2020-08-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class YgGymProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "product_id", type = IdType.AUTO)
    private Integer productId;

    private Integer gymId;

    /**
     * 1为计数2为计时
     */
    private Integer productType;

    private String productName;

    private Double productPrice;

    private String productDes;

    private Long productStartTime;

    private Long productEndTime;

    private String productRule;

    /**
     * 产品使用的总次数
     */
    private Integer productUseTotalCount;

    /**
     * 产品使用总时长
     */
    private Long productUseTotalTime;

    private Integer productCapacity;

    private Integer productSurplusCapacity;

    /**
     * 商品销售量
     */
    private Integer productQuantityOfSale;

    private Integer productState;


}
